package com.bwie.auth.remote;

import com.bwie.common.domain.User;
import com.bwie.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @ClassName AuthRemote
 * @Description 描述
 * @Author ShiYu.Cui
 * @Date 2024/4/25 9:02
 */
@FeignClient("bwie-system")
public interface AuthRemote {
    @GetMapping("/findByUser")
    Result<User> findByUser(@RequestParam String uname);
}
